﻿using FluentValidation.Attributes;
using Nop.Admin.Validators.Directory;
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;

namespace Nop.Admin.Models.Directory
{
    public class OrganizationListModel
    {
    }
    [Validator(typeof(OrganizationValidator))]
    public class OrganizationModel : BaseNopEntityModel
    {
        [NopResourceDisplayName("单位名称", true)]
        public string Name { get; set; }
        [NopResourceDisplayName("单位地址", true)]
        public string Address { get; set; }
        [NopResourceDisplayName("单位电话", true)]
        public string ContactWay { get; set; }
        [NopResourceDisplayName("启用", true)]
        public bool Active { get; set; }
    }
}